<template>
    <P>About</P>
</template>

<script setup>
import{ onMounted } from 'vue'
 import { useRoute } from 'vue-router'
 
 const route=useRoute()

 onMounted(()=>{
  console.log(history.state);
  console.log(route);
  console.log(route.query);
 })
</script>